package com.youmu.shop.cart.domain;

import com.youmu.shop.base.domain.Base;

public class Cart extends Base{

    private Long userId;

    private Long productId;

    private Integer number;
    
    private Long specificationId;
    
    private String remark;
    
    /**
     * 餐具价格
     */
    private String toolPrice;
    
	public String getToolPrice() {
		return toolPrice;
	}

	public void setToolPrice(String toolPrice) {
		this.toolPrice = toolPrice;
	}

	public Cart(){}

    public Cart(Long id, boolean isDel) {
    	super.setId(id);
    	super.setIsDel(isDel);
	}
    
    public Cart(Long id, Integer number) {
        super.setId(id);
        this.number = number;
    }
    
    public Cart(Long userId,Long productId,Integer number,Long specificationId,String remark){
    	this.userId = userId;
    	this.productId = productId;
    	this.number = number;
    	this.specificationId = specificationId;
    	this.remark = remark;
    }
    
    

	public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getSpecificationId() {
		return specificationId;
	}

	public void setSpecificationId(Long specificationId) {
		this.specificationId = specificationId;
	}

	
    

}